<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="path" value="${pageContext.request.contextPath }"></c:set>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>系统模块</title>
    <link href="${path}/css/style.css" rel="stylesheet" type="text/css">
    <link href="${path}/common/plugins/bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css">
    <script src="${path}/js/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="${path}/js/common.js" type="text/javascript"></script>
    <script src="${path}/common/plugins/bootstrap/js/bootstrap.js"></script>
    <script src="${path}/common/plugins/layer/layer.js"></script>
    <script src="eidtLookupCod.js"></script>

</head>
<body>
<div class="content_condition oneContent">
    <input type="hidden" id="lookupCode" value="${sysLookupCde_edit.lookupCode }">
    <div class="content_group">
        <div class="span4">
            <label class="control-label">码表类型:</label>
            <div class="controls">
             <!--  <input id="lookupType" type="text" value="${ciTypeVO.name }"/>-->
                <select id="lookupType"  <c:if test="${sysLookupCde_edit.lookupType!=null}"> disabled="disabled"</c:if>>
                    <option value="">请选择...</option>
                    <c:forEach var="ciType" items="${SysLookupTypes }" >
	                    <!-- <option value=${ciType.lookupType }>${ciType.lookupDesc }</option> -->
	                    
	                    <c:if test="${ciType.lookupType == sysLookupCde_edit.lookupType}">
                    		 <option value=${ciType.lookupType } selected="selected" >${ciType.lookupDesc }</option>
                    	</c:if>
                    	<c:if test="${ciType.lookupType != sysLookupCde_edit.lookupType}">
                    		 <option value=${ciType.lookupType }>${ciType.lookupDesc }</option>
                    	</c:if>
                    	
                    </c:forEach>
                </select>
                <span class="redbtn">*</span>
            </div>
        </div>
    </div>
    <div class="content_group">
        <div class="span4">
            <label class="control-label">名称:</label>
            <div class="controls">
                <input id="cdeName" type="text" value="${sysLookupCde_edit.cdeName }"/>
                <span class="redbtn">*</span>
            </div>
        </div>
    </div>
    <div class="content_group">
        <div class="span4">
            <label class="control-label">值:</label>
            <div class="controls">
            
            <input id="cdeValue" type="text" value="${sysLookupCde_edit.cdeValue }"/>
            <span class="redbtn">*</span>
            </div>
        </div>
    </div>
    <div class="content_group">
        <div class="span4">
            <label class="control-label">flag:</label>
            <div class="controls">
            
            <%--<input id="cdeFlag" type="text" value="${sysLookupCde_edit.cdeFlag }"/>--%>
                <select id="cdeFlag">
                    <option value="1">有效</option>
                    <option value="0">无效</option>
                </select>
            <span class="redbtn">*</span>
            </div>
        </div>
    </div>
    <div class="last_group">
        <div class="span4">
            <label class="control-label">说明:</label>
            <div class="controls">
            <input id="remark" type="text" value="${sysLookupCde_edit.remark }"/>
            </div>
        </div>
    </div>
</div>
<div class="btn_bottom">
    <div class="spanbtn">
    	<label id="tipMsg" style="color: red;"></label>
        <button id="saveBtn" class="press_btn1 Save"><i class="save top_current"></i>保存</button>
        <button class="press_btn2 resetBtn"><i class="reset top_current"></i>重置</button>
        <button class="press_btn3 Close" onclick="parent.layer.close(parent.layer.getFrameIndex(window.name));"><i class="del top_current"></i>关闭</button>
    </div>
</div>

</body>

</html>